﻿@charset "utf-8";
@mixin vertical {
  transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

@mixin center {
  transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}

@mixin centervertical {
  transform: translate(-50%, -50%);
  -moz-transform: translateY(-50%, -50%);
  -ms-transform: translateY(-50%, -50%);
  -webkit-transform: translateY(-50%, -50%);
}

@mixin bdrs($w) {
  border-radius: $w;
  -webkit-border-radius: $w;
  -moz-border-radius: $w;
  -ms-border-radius: $w;
  -o-border-radius: $w;
}

@mixin justify {
  font-weight: normal;
  text-align: justify;
  text-justify: distribute-all-lines;
  /*ie6-8*/
  text-align-last: justify;
  /* ie9*/
  -moz-text-align-last: justify;
  /*ff*/
  -webkit-text-align-last: justify;
  /*chrome 20+*/
  &:after {
    content: "";
    display: inline-block;
    width: 100%;
  }
}

@mixin flex($x, $y) {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: $y;
  -webkit-align-items: $y;
  -ms-flex-align: $y;
  align-items: $y;
  @if $x==space-between {
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  @else {
    -webkit-box-pack: $x;
    -webkit-justify-content: $x;
    -ms-flex-pack: $x;
    justify-content: $x;
  }
}

@mixin boxshadow($s) {
  -moz-box-shadow: $s;
  -webkit-box-shadow: $s;
  box-shadow: $s;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.text-center {
  text-align: center !important;
}

.text-right {
  text-align: right !important;
}

.text-left {
  text-align: left !important;
}

$list: 0 5 10 15 20 25 30 35 40 45 50;
@each $author in $list {
  .pt-#{$author} {
    padding-top: #{$author}px !important;
  }
  .pb-#{$author} {
    padding-bottom: #{$author}px !important;
  }
  .pl-#{$author} {
    padding-left: #{$author}px !important;
  }
  .pr-#{$author} {
    padding-right: #{$author}px !important;
  }
  .mt-#{$author} {
    margin-top: #{$author}px !important;
  }
  .mb-#{$author} {
    margin-bottom: #{$author}px !important;
  }
  .ml-#{$author} {
    margin-left: #{$author}px !important;
  }
  .mr-#{$author} {
    margin-right: #{$author}px !important;
  }
}

@mixin ellipsis($n) {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  -ms-text-overflow: ellipsis;
  -moz-text-overflow: ellipsis;
  -webkit-text-overflow: ellipsis;
  text-overflow: -o-ellipsis-lastline;
  -webkit-line-clamp: $n;
  -webkit-box-orient: vertical;
}

.no-border {
  border: none !important;
}

.layui-blue {
  color: #01AAED !important;
}

.f-red {
  color: #FF0000 !important;
}

body {
  background: rgba(242, 242, 242, 1);
  padding: 20px 10px 20px 20px;
  color: #333;
}

.intro_link {
  display: block;
  width: 100%;
  height: calc(100vh);
  text-align: center;
  position: relative;
  span {
    display: block;
    position: absolute;
    width: 100%;
    left: 50%;
    top: 50%;
    @include centervertical;
    img {
      display: inline-block;
      width: 240px;
    }
    strong {
      display: block;
      text-align: center;
      font-size: 40px;
      color: #333;
      line-height: 60px;
      padding: 60px 0;
    }
    b {
      display: block;
      font-size: 20px;
      color: #333;
      line-height: 30px;
      padding-bottom: 10px;
    }
  }
}

.layui-layout-body {
  background: #fff;
  padding: 0;
}

.layui-header {
  .layoutBtn {
    display: inline-block;
    width: 40px;
    height: 40px;
    position: absolute;
    left: 250px;
    top: 50%;
    margin-top: -20px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    color: #929090;
    .layui-icon {
      font-size: 22px !important;
    }
  }
}

.layui-layout-admin {
  .layui-header {
    @include boxshadow(0 1px 2px 0 rgba(0, 0, 0, 0.1));
  }
  .layui-side {
    @include boxshadow(4px 0 8px -3px rgba(0, 0, 0, 0.1));
  }
  .layui-nav-tree {
    width: 240px;
  }
  .layui-logo {
    width: 240px;
    height: 71px;
    position: relative;
    border-bottom: 1px solid #F0F0F0;
    .logo-expanded {
      position: absolute;
      left: 20px;
      top: 50%;
      @include vertical;
      width: 178px;
      height: 38px;
      background: url(../images/logo.png) no-repeat left top;
    }
    .logo-collapsed {
      position: absolute;
      left: 20px;
      top: 50%;
      @include vertical;
      width: 38px;
      height: 38px;
      background: url(../images/logo.png) no-repeat left top;
    }
  }
}

.layui-nav {
  background: #fff;
  .layui-nav-item {
    position: relative;
    a {
      color: #5F5F5F;
      font-weight: bold;
      .iconfont {
        font-size: 16px !important;
        margin-right: 10px;
        color: #929090;
      }
    }
  }
  .layui-nav-more {
    width: 10px;
    height: 6px;
    background: url(../images/down.png) no-repeat left top;
    border: 0;
  }
  .layui-nav-itemed .layui-nav-more {
    background: url(../images/up.png) no-repeat left top;
  }
  .layui-nav-child a {
    padding-left: 45px;
    padding-right: 0;
    font-weight: normal !important;
  }
}

.layui-nav-itemed>.layui-nav-child {
  background: none;
}

.layui-side-scroll {
  height: calc(100vh - 70px);
  overflow-y: auto;
}

.layout-full {
  .layui-body {
    left: 70px;
  }
  .layui-side {
    width: 70px;
    overflow: visible;
  }
  .layui-header {
    .layoutBtn {
      left: 80px;
    }
  }
  .layui-logo {
    width: 70px;
    overflow: hidden;
    .logo-expanded {
      width: 40px;
      left: 15px;
    }
  }
  .layui-side-scroll {
    width: 70px;
    height: calc(100vh - 70px);
    overflow: visible;
  }
  .side-nav-tree {
    width: 70px;
    .layui-nav-item {
      a {
        padding: 0 0px 0 23px;
        label,
        span {
          display: none;
        }
        .layui-icon {
          font-size: 22px;
        }
      }
      &:hover a {
        background: rgba(230, 247, 255, 1);
      }
      .layui-nav-child {
        display: none;
      }
      &:hover .layui-nav-child {
        width: 210px;
        display: block;
        position: absolute;
        left: 70px;
        top: 0;
        background: rgba(230, 247, 255, 1);
        a {
          padding: 0 10px;
        }
      }
    }
  }
}

.iconnavList {
  padding: 5px 0 0 0;
  .layui-nav-item {
    margin: 0 10px;
    a {
      padding: 0;
      .layui-icon {
        margin: 0;
        font-size: 20px;
      }
      .layui-badge-dot {
        margin: -10px 12px 0;
      }
    }
  }
}

.mainIframe {
  width: 100%;
  height: calc(100vh - 116px);
  position: relative;
  z-index: 5;
}

* {
  box-sizing: border-box;
}

.breadcrumbBox {
  width: calc(100% + 40px);
  background: #fff;
  padding: 14px 20px;
  height: 46px;
  @include boxshadow(0 1px 2px 0 rgba(0, 0, 0, 0.1));
  position: relative;
  z-index: 10;
}

.cardData {
  height: 160px;
  padding: 25px 30px;
  color: #333;
  h3 {
    font-weight: normal;
    font-size: 14px;
  }
  b {
    font-family: Arial, Helvetica, sans-serif;
    padding-top: 25px;
    display: block;
    font-weight: 400;
    font-style: normal;
    font-size: 36px;
    line-height: 36px;
  }
  p {
    font-size: 13px;
    padding-top: 15px;
    span {
      padding-left: 10px;
    }
  }
}

.tableCard {
  padding: 10px 20px;
  .title-header {
    font-size: 16px;
    font-weight: bold;
    line-height: 20px;
    padding: 10px 0 5px 0;
  }
}

.dataHeader {
  padding: 10px 20px 7px 20px;
  height: auto;
  b {
    font-size: 16px;
  }
  .layui-input-inline {
    position: relative;
    margin-left: 10px;
    margin-top: 3px;
    .layui-input-sm {
      height: 34px;
      padding-right: 18px;
    }
    .layui-icon {
      position: absolute;
      right: 5px;
      top: 7px;
      line-height: 20px;
    }
  }
}

.layui-input-md {
  width: 250px;
}

.select-md .layui-form-select {
  width: 250px;
}

.bar {
  width: 100%;
  height: 300px;
}

.rankingList {
  padding-top: 10px;
  li {
    position: relative;
    padding-left: 30px;
    font-size: 14px;
    line-height: 32px;
    span {
      display: block;
      position: absolute;
      left: 0;
      top: 8px;
      width: 18px;
      height: 18px;
      @include bdrs(100%);
      line-height: 18px;
      font-size: 14px;
      text-align: center;
      background: #F3F3F3;
      color: #333;
      &.gray {
        background: #2E4859;
        color: #fff;
      }
    }
    lable {
      position: absolute;
      right: 0;
      top: 0;
    }
    b {
      font-weight: 400;
      position: absolute;
      right: 35px;
      top: 0;
    }
  }
}

.layui-breadcrumb {
  a.layui-blue {
    color: #01AAED !important;
  }
}

.layui-card-header .layui-a-tips {
  position: absolute;
  right: 15px;
  color: #01AAED;
}

.table-card {
  .layui-card-header {
    padding: 5px 15px 0 15px;
    height: auto;
  }
  .table-card-body {
    padding: 2px 15px 20px 15px;
  }
  .layui-form {
    margin: 0;
  }
}

.layui-btn-sm {
  padding: 0 20px;
}

.form-box {
  padding-bottom: 20px;
  .title-header {
    padding-bottom: 10px;
  }
  .form-label-right {
    text-align: right;
    line-height: 34px;
    padding-right: 5px;
  }
  .layui-input-sm {
    width: 220px;
    height: 34px;
    line-height: 34px;
  }
  .layui-input {
    border: 1px solid #A8A8A8;
    border-radius: 0;
    height: 34px;
    line-height: 34px;
    &:disabled {
      background: #ECECE5;
      border: 1px solid #c5c2c2;
    }
  }
}

.layui-select-disabled .layui-disabled {
  border: 1px solid #c5c2c2 !important;
}

.layui-table-view {
  margin-bottom: 0;
}

.total-box {
  margin: 0 0 20px 0;
  border: 1px solid #e6e6e6;
  border-top: 0;
  padding: 10px 15px;
  line-height: 30px;
  font-size: 14px;
}

.input-tips {
  min-height: auto;
  position: relative;
  margin-top: -10px;
}

.editTable {
  .layui-form-select {
    width: 170px;
    margin: 0;
  }
  .layui-input-sm {
    width: 130px;
  }
  th {
    font-weight: 700;
    text-align: center;
    line-height: 26px;
    font-size: 14px;
  }
  td {
    text-align: center;
  }
  .add_span {
    cursor: pointer;
  }
}

.span-t {
  position: relative;
  margin-top: -10px;
  display: inline-block;
  padding-right: 10px;
}

.table-title {
  font-size: 16px;
  padding-top: 20px;
}

.muitBox {
  .layui-table-cell {
    height: auto;
  }
}

.opbox {
  line-height: 20px;
}

.layui-layer-dialog .layui-layer-padding {
  text-align: center !important;
  padding-left: 20px !important;
}

.layui-layer-dialog .layui-layer-content .layui-layer-ico {
  position: relative !important;
  margin-right: 10px;
  top: 0 !important;
  left: 0 !important;
  margin-top: -3px !important;
}

.layui-f-selected {
  dl {
    display: block;
  }
  .layui-edge {
    margin-top: -9px;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  .layui-edge {
    margin-top: -3px\0;
  }
}

:root .layui-f-selected .layui-edge {
  margin-top: -9px\0/IE9;
}